<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改文档服务器信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-paeaParaSystem-edit" th:object="${paeaParaSystem}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">代码：</label>
                        <div class="col-sm-8">
                            <input name="code" th:field="*{code}" class="form-control" type="text" required>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">名称：</label>
                        <div class="col-sm-8">
                            <input name="name" th:field="*{name}" class="form-control" type="text" required>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">IP地址：</label>
                        <div class="col-sm-8">
                            <input name="fileHttpIp" th:field="*{fileHttpIp}" class="form-control" type="text" required>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">开放端口：</label>
                        <div class="col-sm-8">
                            <input name="fileHttpPort" th:field="*{fileHttpPort}" class="form-control" type="text" required>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">开放地址：</label>
                        <div class="col-sm-8">
                            <input name="fileHttpServerlet" th:field="*{fileHttpServerlet}" class="form-control" type="text" required>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保留字段1：</label>
                        <div class="col-sm-8">
                            <input name="reserved1" th:field="*{reserved1}" class="form-control" type="text">
                        </div>
                    </div>
                </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保留字段2：</label>
                        <div class="col-sm-8">
                            <input name="reserved2" th:field="*{reserved2}" class="form-control" type="text">
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保留字段3：</label>
                        <div class="col-sm-8">
                            <input name="reserved3" th:field="*{reserved3}" class="form-control" type="text">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保留字段5：</label>
                        <div class="col-sm-8">
                            <input name="reserved5" th:field="*{reserved5}" class="form-control" type="text">
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保留字段6：</label>
                        <div class="col-sm-8">
                            <input name="reserved6" th:field="*{reserved6}" class="form-control" type="text">
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">影像根目录：</label>
                        <div class="col-sm-8">
                            <input name="fileDisk" th:field="*{fileDisk}" class="form-control" type="text" maxlength="1" required>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <div class="form-group">
                        <label class="col-sm-4 control-label">保留字段7：</label>
                        <div class="col-sm-8">
                            <input name="reserved7" th:field="*{reserved7}" class="form-control" type="text">
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "param/paeaParaSystem";
        $("#form-paeaParaSystem-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-paeaParaSystem-edit').serialize());
            }
        }
    </script>
</body>
</html>